package com.sjy.MyBlog.bean;

public class User {
    private Integer id;

    private String name;

    private String pwd;

    private String headImage;

    private String tel;

    private String email;

    private String addr;

    private String description;

    public User(Integer id, String name, String pwd, String headImage, String tel, String email, String addr) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.headImage = headImage;
        this.tel = tel;
        this.email = email;
        this.addr = addr;
    }

    public User(Integer id, String name, String pwd, String headImage, String tel, String email, String addr, String description) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.headImage = headImage;
        this.tel = tel;
        this.email = email;
        this.addr = addr;
        this.description = description;
    }

    public User() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage == null ? null : headImage.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr == null ? null : addr.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}